<%@ Page language="vb" Inherits="_2bMatesSite.view_group_profile" CodeFile="view_group_profile.aspx.vb" CodeFileBaseClass="_2bMatesSite.BaseWebPage" %>
<form id="Form1" method="post" runat="server">
	<table height="100%" cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
		<tr>
			<td class="welcome_white" id="table_orange" align="left" colSpan="2" height="22">&nbsp;<b>
				<asp:literal id="litTitle" runat="server">Group Name:&nbsp;</asp:literal>
					<asp:literal id="litGroupName2" runat="server"></asp:literal></b>!
			</td>
			<td class="welcome_white" id="table_orange" align="right"><font class="sign_up">
				<b><asp:HyperLink id="hlBackToGroup" runat="server" cssclass="sign_up"></asp:HyperLink>&nbsp;&nbsp;&nbsp;</font></b></td>
		</tr>
		<tr>
			<td class="small" vAlign="top" width="340">
				<!-- User profile -->
				<table class="main_table_border_transparent" cellSpacing="1" cellPadding="0" width="100%" border="0">
					<tr>
						<td class="small" vAlign="top" align="center">
							<table cellSpacing="0" cellPadding="0" width="310" border="0">
								<tr>
									<td class="small" vAlign="top" height="7">&nbsp;</td>
								</tr>
								<tr>
									<td class="welcome_white" id="table_orange" height="21"><span class="break_name">
										<b><asp:literal id="litWelcome" runat="server">Welcome</asp:literal>
												<asp:literal id="litGroupName" runat="server"></asp:literal></b>!</span></td>
								</tr>
								<tr>
									<td class="profile" vAlign="middle" align="left"><br>
										<span class="profile"></span><asp:hyperlink id="hlEditProfile" runat="server" CssClass="blue_clear_height">Edit Group Profile</asp:hyperlink><br>
										<asp:hyperlink id="hlEditPhoto" runat="server" CssClass="blue_clear_height">Edit Group Photo</asp:hyperlink><br>
										<asp:hyperlink id="hlEditMembers" runat="server" CssClass="blue_clear_height"> Edit Members</asp:hyperlink><br>
										<asp:hyperlink id="hlEditMembersComments" runat="server" CssClass="blue_clear_height">Edit Members Comments</asp:hyperlink>
										<br>
										<br>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
				<!-- End User profile --><br>
				<br>
				<br>
				<br>
				<br>
				<!-- Upload Photo  -->
				<table class="main_table_border_transparent" cellSpacing="1" cellPadding="0" width="340" border="0">
					<tr>
						<td class="small2" align="center"><br>
							<table cellSpacing="0" cellPadding="4" width="310" border="0">
								<tr>
									<td class="menu_white" align="left" width="120">
										<asp:image id="imgGroupPicture" runat="server" CssClass="small_image"></asp:image></td>
									<td class="blue" align="left">
										<asp:literal id="litGrpModerator" runat="server">Group Moderator:</asp:literal>
										<asp:hyperlink id="hlModerator" runat="server" cssclass="blue_clear"></asp:hyperlink><br>
										<br>
										<asp:hyperlink id="hlEditPhoto2" runat="server" Font-Bold="True" cssclass="blue_clear">Edit Group Photos</asp:hyperlink></td>
								</tr>
								<tr>
									<td class="clear" align="left" width="120">
									<asp:hyperlink id="hlPhotosInAlbum" runat="server" Font-Bold="True" cssclass="blue_clear"></asp:hyperlink></td>
									<td class="blue" align="left">&nbsp;</td>
								</tr>
							</table>
							<br>
						</td>
					</tr>
				</table>
				<!-- End Upload Photo  --><br>
				<br>
				<br>
				<br>
				<br>
				<table class="main_table_border_transparent" cellSpacing="1" cellPadding="0" width="340" border="0">
					<tr>
						<td align="center" class="small">
							<table cellSpacing="0" cellPadding="0" width="310" border="0">
								<tr>
									<td class="small" height="7">&nbsp;</td>
								</tr>
								<!-- User Inbox  -->
								<tr>
									<td class="menu_white" id="table_orange" align="left" height="21">
										<b><asp:literal id="litGrpDetails" runat="server">Group&nbsp;Details</asp:literal></b></td>
									<td class="sign_up" id="table_orange" align="right" height="21">
										<asp:hyperlink id="hlEditDetails" runat="server" cssclass="white_link">Edit Group Profile</asp:hyperlink>&nbsp;&nbsp;
									</td>
								</tr>
								<tr>
									<td colSpan="2"><asp:table id="tblGroupDetails" runat="server" CssClass="bordered_table_yellow" CellSpacing="0" CellPadding="4"
											Width="310px"></asp:table></td>
								</tr>
							</table>
							<br>
						</td>
					</tr>
				</table>
			</td>
			<td class="small" width="10">&nbsp;</td>
			<td class="small" vAlign="top" width="419">
				<table class="main_table_border_transparent" cellSpacing="1" cellPadding="0" width="419" border="0">
					<tr>
						<td class="small" vAlign="top" align="center">
							<table cellSpacing="0" cellPadding="0" width="389" border="0">
								<tr id="trSongs" runat="server">
									<td class="small"  colspan="2">
										<table cellpadding="0" cellspacing="0" border="0" width="100%">
											<tr>
												<td class="small" height=7>&nbsp;</td>
											</tr>							
											<tr>
												<td class="menu_white" id="table_orange" align="left" height="21"><b><asp:literal id="litLive" runat="server">Live </asp:literal></b><img src="images/both.gif" align="center" alt="Live"></td>
											</tr>	
											<tr>
												<td>
													<table cellpadding="0" cellspacing="0" border="0" width="100%" class="bordered_table_yellow">
														<tr>
															<td class=blue>
															<asp:hyperlink id="hlSong1" runat="server" cssclass="blue_clear">Song 1</asp:hyperlink><br>
															<asp:hyperlink id="hlSong2" runat="server" cssclass="blue_clear">Song 2</asp:hyperlink><br>
															<asp:hyperlink id="hlSong3" runat="server" cssclass="blue_clear">Song 3</asp:hyperlink><br>
															<asp:hyperlink id="hlClip" runat="server" cssclass="blue_clear">Clip</asp:hyperlink></td>
														</tr>
													</table>
												</td>	
											</tr>
										</table>
									</td>
								</tr>
								<tr id="trEventsShowsHead" runat=server>
									<td align="right" colspan="2">
										<table cellspacing="0" cellpadding="0" width="100%" border="0">
											<tr>
												<td class="small" height="7"  colspan="2">&nbsp;</td>
											</tr>
											<tr>
												<td class="menu_white" id="table_orange" height="21"><b><asp:label id="lblEventsShows" runat="server">Events &amp; Shows</asp:label></b></td>
												<td class="menu_white_clear" align="right" height="21"><asp:hyperlink id="hlViewAllEvents" runat="server" cssclass="menu_white_clear">View All&nbsp;></asp:hyperlink></td>
											</tr>
										</table>
									</td>
								</tr>
								<tr id="trEventsShows" runat=server>
									<td class="small">
										<asp:table id="tblGroupEvents" runat="server" CssClass="bordered_table_yellow" CellSpacing="0" CellPadding="4"
											Width="100%">
										</asp:table>
									</td>
								</tr>
								<tr>
									<td class="small" height="7">&nbsp;</td>
								</tr>
								<tr>
									<td class="menu_white" id="table_orange" height="21">
									<b><asp:label id="lblAbout" runat="server"></asp:label></b></td>
								</tr>								
								<tr>
									<td class="small">
										<table cellpadding="0" cellspacing="0" border="0" width="100%" class="bordered_table_yellow">
											<tr>
												<td class="blue_clear_height"><pre wrap style="WORD-WRAP:break-word"><asp:Label id="lblAboutGroup" runat="server"></asp:Label></pre></td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td class="small" height="7">&nbsp;</td>
								</tr>
								<tr>
									<td class="menu_white" id="table_orange" height="21">
										<b><asp:literal id="litGrpMembers" runat="server">Group Members <font class="dynamic_number">
											</font>&nbsp;&nbsp;</asp:literal></b></td>
								</tr>
								<tr>
									<td align="right">
										<table cellSpacing="0" cellPadding="0" width="100%" border="0">
											<tr>
												<td class="all_friends" align="left" height="26">&nbsp;
													<b><asp:hyperlink id="hlSeeAllMembers" runat="server" cssclass="blue_clear">See all Members</asp:hyperlink></b></td>
												<td class="small_paragraph_orange" vAlign="middle" align="right">
													<asp:hyperlink id="hlViewConfirmation" runat="server" Visible="False" cssclass="all_friends">
													<b>View awaiting confirmation from <font class="all_friends">2</font> members</b></asp:hyperlink></td>
											</tr>
										</table>
									</td>
								</tr>
								<tr>
									<td class="blue_inbox" align="center"><asp:datalist id="dlAllMembers" runat="server" CssClass="data_list" CellPadding="0" Width="100%"
											RepeatColumns="4" HorizontalAlign="Left" BorderWidth="0px" ShowHeader="False" ShowFooter="False" RepeatDirection="Horizontal">
											<ItemStyle HorizontalAlign="Center" VerticalAlign="Top" width="25%"></ItemStyle>
											<ItemTemplate>
												<table cellspacing="0" cellpadding="0" border="0">
													<tr>
														<td class="blue " align="center" style="padding-left: 0px;">
															<b>
																<asp:LinkButton id="lbName" runat="server" CssClass="blue_clear" Text='<%# DataBinder.Eval(Container.DataItem, "Name") %>' CommandName="MemberRedirect" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "MemberID") %>' >
																</asp:LinkButton></b>
														</td>
													</tr>
													<tr>
														<td align="center" height="100" valign="top">
															<asp:imagebutton id="imgMember" runat="server" CssClass="small_image" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "ImageURL") %>' CommandName="MemberRedirect" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "MemberID") %>' Tooltip='<%# DataBinder.Eval(Container.DataItem, "MemberFullName") %>'>
															</asp:imagebutton><br>
															<asp:image id="imgOnline" runat="server" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "OnlineImg") %>' >
															</asp:image>
														</td>
													</tr>
												</table>
											</ItemTemplate>
										</asp:datalist></td>
								</tr>
								<tr>
									<td class="small" align="center">
										<table cellSpacing="0" cellPadding="0" width="389" border="0">
											<tr>
												<td class="spacer_line" colSpan="2"><IMG height="1" src="images/spacer.gif" width="100%"></td>
											</tr>
											<tr>
												<td class="blue_bulletin" align="left">&nbsp;</td>
												<td vAlign="top" align="right">
												<asp:image id="imgAddMembers" runat="server" ImageAlign="AbsMiddle" ImageUrl="../images/add_friends.gif"></asp:image>
												<asp:linkbutton id="lbAddMembers" runat="server" CssClass="blue" onclick="lbAddMembers_Click">Add Members</asp:linkbutton>&nbsp;&nbsp;&nbsp;
												<asp:image id="imgEditMembers" runat="server" ImageAlign="AbsMiddle" ImageUrl="../images/edit_friends.gif"></asp:image>
												<asp:linkbutton id="lbEditMembersWithImage" runat="server" CssClass="blue" onclick="lbEditMembersWithImage_Click">Edit Members</asp:linkbutton></td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
				<br>
				<br>
				<br>
				<br>
				<br>
				<table class="main_table_border_transparent" cellSpacing="1" cellPadding="0" width="419" border="0">
					<tr>
						<td class="small" vAlign="top" align="center">
							<table cellSpacing="0" cellPadding="0" width="389" border="0">
								<TBODY>
									<tr>
										<td class="small" height="7">&nbsp;</td>
									</tr>
									<tr>
										<td class="menu_white" id="table_orange">
											<b><asp:literal id="litGroupName1" runat="server"></asp:literal>
												<asp:literal id="litMemberComments" runat="server">Members Comments</asp:literal></b></td>
										<td class="sign_up" id="table_orange" align="right" height="19">
											<asp:hyperlink id="hlEditComments" runat="server" CssClass="sign_up">Edit Comments</asp:hyperlink>&nbsp;&nbsp;</td>
									</tr>
									<tr>
										<td class="blue_inbox" align="left" colSpan="2"><asp:label id="lblNoComments" runat="server" CssClass="clear" Visible="False">There are no comments posted.</asp:label><ASP:DATAGRID id="dgMessages" runat="server" Width="100%" AutoGenerateColumns="False" GridLines="None"
												PagerStyle-Mode="NumericPages" PagerStyle-HorizontalAlign="Right">
												<ItemStyle CssClass="data_grid" VerticalAlign="Top"></ItemStyle>
												<Columns>
													<asp:TemplateColumn>
														<HeaderStyle Width="22%"></HeaderStyle>
														<ItemStyle CssClass="data_grid" VerticalAlign="Top" HorizontalAlign=Center></ItemStyle>
														<ItemTemplate>
															<br>
															<asp:hyperlink id=hlSenderImage runat="server" CssClass="small_image" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "MemberURL") %>' ImageUrl='<%# DataBinder.Eval(Container.DataItem, "SenderImageURL") %>' ToolTip='<%# DataBinder.Eval(Container.DataItem, "SenderNameFull") %>'></asp:hyperlink>
															<br>
															<asp:image id="imgOnlineComment" runat="server" imageurl='<%# DataBinder.Eval(Container.DataItem, "OnlineImg") %>' >
															</asp:image>
														</ItemTemplate>
														<FooterStyle HorizontalAlign="Left" VerticalAlign="Top"></FooterStyle>
													</asp:TemplateColumn>
													<asp:TemplateColumn>
														<HeaderStyle Width="78%"></HeaderStyle>
														<ItemStyle CssClass="data_grid" VerticalAlign="Top"></ItemStyle>
														<ItemTemplate>
															<br><asp:hyperlink id=hlSenderName runat="server" CssClass="blue_clear" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "MemberURL") %>' Font-Bold="True" Text='<%# DataBinder.Eval(Container.DataItem, "SenderNameFull") %>'>
															</asp:hyperlink>&nbsp;&nbsp; <asp:label id=lblDate runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Date") %>'>
															</asp:label><br><br>
															<PRE WRAP STYLE="word-wrap:break-word;"><asp:literal id=litComment runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Comment") %>'></asp:literal></PRE><br />
															<asp:linkbutton id=lbReject runat="server" cssclass="blue_clear" font-bold="True" causesvalidation="False" commandargument='<%# DataBinder.Eval(Container.DataItem, "CommentID") %>' commandname="Reject" visible='<%# DataBinder.Eval(Container.DataItem, "RemoveVisibility") %>'><%# DataBinder.Eval(Container.DataItem, "RejectText") %></asp:linkbutton>&nbsp; 
															<asp:linkbutton id=lbApprove runat="server" font-bold="True" cssclass="blue_clear" causesvalidation="False" commandargument='<%# DataBinder.Eval(Container.DataItem, "CommentID") %>' commandname="Approve" visible='<%# DataBinder.Eval(Container.DataItem, "ButtonsVisibility") %>'>Approve</asp:linkbutton></td>
										</ItemTemplate>
										<FooterStyle HorizontalAlign="Left" VerticalAlign="Top"></FooterStyle>
										</asp:TemplateColumn> </Columns>
										<PagerStyle HorizontalAlign="Right" Mode="NumericPages"></PagerStyle>
							</ASP:DATAGRID></td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	</TD></TR>
	<tr>
		<td class="small" colSpan="3" height="10">&nbsp;</td>
	</tr>
</TABLE></form>
